﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using AutoBackupDatabase.ENT;
using System.Data;
namespace AutoBackupDatabase.BLL
{
    public class MATERIALBLL
    {
         private MATERIALDAL MATERIALDAL;
       public MATERIALBLL()
       {
           MATERIALDAL = new MATERIALDAL();
       }

       public List<MATERIALENT> GET_MATERIAL_ALL()
       {
           return MATERIALDAL.GET_MATERIAL_ALL();

       }
       public bool INSERTMATERIAL(MATERIALENT ent)
       {

           return MATERIALDAL.INSERTMATERIAL(ent);

       }
       public bool UPDATEMATERIALBYMATERIALID(MATERIALENT ent)
       {

           return MATERIALDAL.UPDATEMATERIALBYMATERIALID(ent);

       }
       public bool DELTELEMATERIALBYMATERIALID(MATERIALENT ent)
       {

           return MATERIALDAL.DELTELEMATERIALBYMATERIALID(ent);

       }
    }
}
